package com.azxcrm.project.system.customer.domain;

import java.io.Serializable;

import com.azxcrm.framework.web.page.PageDomain;
import com.azxcrm.project.system.basic.domain.OrderDispatch;
import com.azxcrm.project.system.dept.domain.Dept;
import com.azxcrm.project.system.order.domain.Order;
import com.azxcrm.project.system.user.domain.User;

/**
 * sys_customer_attendance 客户参课列
 * 
 * @author Dustyone
 * @date 2018-08-28
 */
public class CustomerAttendance extends PageDomain implements Serializable 
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer attendId;
	/** 客户姓名 */
	private String attendCustName;
	/** 手机号码 */
	private String cellphoneNum;
	/** 销售人员部门id */
	private Integer deptId;
	/** 销售人员id */
	private Integer salesUserId;
	/** 年龄 */
	private Integer age;
	/** 性别 */
	private Integer sex;
	/** 是否本人参课：0本人，1代咨询 */
	private Integer isOwnself;
	/** 参课时间 */
	private String attendanceTime;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private String createTime;
	/** 更新时间 */
	private String updateTime;
	/** 部门详情 */
	private Dept dept;
	/** 用户信息 */
	private User user;
	/** 派单信息*/
	private OrderDispatch orderDispatch;
	/** 订单信息*/
	private Order order;
	/**
	 * 设置：主键id
	 */
	public void setAttendId(Integer attendId) 
	{
		this.attendId = attendId;
	}
	
	/**
	 * 获取：主键id
	 */
	public Integer getAttendId() 
	{
		return attendId;
	}
	
	/**
	 * 设置：客户姓名
	 */
	public void setAttendCustName(String attendCustName) 
	{
		this.attendCustName = attendCustName;
	}
	
	/**
	 * 获取：客户姓名
	 */
	public String getAttendCustName() 
	{
		return attendCustName;
	}
	
	/**
	 * 设置：手机号码
	 */
	public void setCellphoneNum(String cellphoneNum) 
	{
		this.cellphoneNum = cellphoneNum;
	}
	
	/**
	 * 获取：手机号码
	 */
	public String getCellphoneNum() 
	{
		return cellphoneNum;
	}
	
	/**
	 * 设置：销售人员部门id
	 */
	public void setDeptId(Integer deptId) 
	{
		this.deptId = deptId;
	}
	
	/**
	 * 获取：销售人员部门id
	 */
	public Integer getDeptId() 
	{
		return deptId;
	}
	
	/**
	 * 设置：销售人员id
	 */
	public void setSalesUserId(Integer salesUserId) 
	{
		this.salesUserId = salesUserId;
	}
	
	/**
	 * 获取：销售人员id
	 */
	public Integer getSalesUserId() 
	{
		return salesUserId;
	}
	
	/**
	 * 设置：年龄
	 */
	public void setAge(Integer age) 
	{
		this.age = age;
	}
	
	/**
	 * 获取：年龄
	 */
	public Integer getAge() 
	{
		return age;
	}
	
	/**
	 * 设置：性别
	 */
	public void setSex(Integer sex) 
	{
		this.sex = sex;
	}
	
	/**
	 * 获取：性别
	 */
	public Integer getSex() 
	{
		return sex;
	}
	
	/**
	 * 设置：是否本人参课：0本人，1代咨询
	 */
	public void setIsOwnself(Integer isOwnself) 
	{
		this.isOwnself = isOwnself;
	}
	
	/**
	 * 获取：是否本人参课：0本人，1代咨询
	 */
	public Integer getIsOwnself() 
	{
		return isOwnself;
	}
	
	/**
	 * 设置：参课时间
	 */
	public void setAttendanceTime(String attendanceTime) 
	{
		this.attendanceTime = attendanceTime;
	}
	
	/**
	 * 获取：参课时间
	 */
	public String getAttendanceTime() 
	{
		return attendanceTime;
	}
	
	/**
	 * 设置：创建者
	 */
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	
	/**
	 * 获取：创建者
	 */
	public String getCreateBy() 
	{
		return createBy;
	}
	
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(String createTime) 
	{
		this.createTime = createTime;
	}
	
	/**
	 * 获取：创建时间
	 */
	public String getCreateTime() 
	{
		return createTime;
	}
	
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(String updateTime) 
	{
		this.updateTime = updateTime;
	}
	
	/**
	 * 获取：更新时间
	 */
	public String getUpdateTime() 
	{
		return updateTime;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public OrderDispatch getOrderDispatch() {
		return orderDispatch;
	}

	public void setOrderDispatch(OrderDispatch orderDispatch) {
		this.orderDispatch = orderDispatch;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	@Override
	public String toString() {
		return "CustomerAttendance [attendId=" + attendId + ", attendCustName=" + attendCustName + ", cellphoneNum="
				+ cellphoneNum + ", deptId=" + deptId + ", salesUserId=" + salesUserId + ", age=" + age + ", sex="
				+ sex + ", isOwnself=" + isOwnself + ", attendanceTime=" + attendanceTime + ", createBy=" + createBy
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + ", dept=" + dept + ", user=" + user
				+ "]";
	}
	
	
	
}
